import request from '@/utils/myAioxs'

//获取我的详细信息
export function getDetailInfo() {
  return request({
    url: `/user/v1/detail-info`,
    method: 'get',
  })
}
//更新个人信息
export function updateDetailInfo(data) {
  return request({
    url: `/user/v1/update-user-base-info`,
    method: 'post',
    data
  })
}

export function changeUserPassword(data) {
  return request({
    url: `/user/v1/change-user-secret`,
    method: 'post',
    data
  })
}
